home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2000 February
/
PCWorld_2000-02_cd.bin
/
Software
/
Vyzkuste
/
xsetup
/
_SETUP.2
/
Group3
/
XQ CD AutoStart Options.xpl
< prev
next >
Wrap
Text File
|
1999-08-30
|
1KB
|
42 lines
"FILE"="Xteq Systems X-Setup Plugin 5.0"
"TYPE"="6"
"COUNT"="1"
"UIPATH"="System\File System\CD Autostart"
"NAME"="Autostart Audio CD"
"VERSION"="1.35"
"LANGUAGE"="VBScript"
"TEXT 1"="Play audio CD-ROMs automatically"
"DESCRIPTION 1"="If you normally insert a CD in your CD-ROM-drive, starts playing the CD using the CD Player."
"DESCRIPTION 2"="If you do not like this behavior, you can change it here."
"DESCRIPTION 3"="Note that this option requires "Auto-Insert Notification" for your CD-ROM-drive enabled."
"AUTHOR"="Xteq Systems"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
Sub Plugin_Initialize
s=RegReadValue("HKLM\Software\Classes\AudioCD\Shell\@")
if s="play" then SetUIElement 1,true
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
b=GetUIElement(1)
if b=true then
Call RegWriteValue("HKLM\Software\Classes\AudioCD\Shell\@","play",1)
else
Call RegWriteValue("HKLM\Software\Classes\AudioCD\Shell\@","",1)
end if
Restart
End Sub
Sub Plugin_Terminate
End Sub